-- GENERATED SPELL FOR [Kurmokk] --


function spell0_14491(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_14491', 609, 1)
end

function Sorts_14491(pUnit, Event)
local choix_sorts_14491 = math.random(0, 0)
if choix_sorts_14491 == 0 then
pUnit:RegisterEvent('spell0_14491', 1, 1)
end
end

function mob14491_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14491', math.random(1500, 3000), 1)
end

function mob14491_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14491_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14491_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14491, 1, 'mob14491_Action')
RegisterUnitEvent(14491, 2, 'mob14491_Leave')
RegisterUnitEvent(14491, 3, 'mob14491_Kill')
RegisterUnitEvent(14491, 4, 'mob14491_Die')
